package  com.pcbly.web.business.crm;
/**
* @author carl.song
* Copyright (c) 2010 Lightsoft, International.
* All rights reserved.
*
*/

import com.pcbly.web.bean.crm.AccountQcBean;
import com.pcbly.web.business.BaseService;
import com.pcbly.web.components.hibernate.support.Page;

public interface AccountQcService extends BaseService<AccountQcBean> {

	AccountQcBean getAccountQcBeanById(String id) throws Exception;
	
	void removeAccountQcBeanById(String id) throws Exception;
	
	void removeAccountQcBeanByIds(String ids) throws Exception;
	
	AccountQcBean saveAccountQcBean(AccountQcBean crm) throws Exception;
	
	AccountQcBean updateAccountQcBean(AccountQcBean crm) throws Exception;
	
	Page<AccountQcBean>  findAccountQcBeanByCond(AccountQcBean bean,
			Page<AccountQcBean> page, String orderByName, boolean asc)
			throws Exception;
	void saveAccountQcBeanExt(String sql) throws Exception;

	String findAccountQcBeanExtCreate(String tableName) throws Exception;

	String findAccountQcBeanExtEdit(String tableName, String id)
			throws Exception;

	String findAccountQcBeanExtView(String tableName, String id)
			throws Exception;

	boolean getHasAccountQcBeanExtData(String tableName, String id)
			throws Exception;
}